import axios from 'axios'
const request = axios.create({
    // baseURL: 'http://xl.9yuecloud.com/api',
    baseURL:'http://120.53.31.103:84/api/app',
    timeout:1000
})
request.interceptors.request.use(config=>{
    config.headers.Authorization='Bearer ' + localStorage.getItem('msmktoken')
    return config
},err=>{
    return Promise.inject(err)
})
request.interceptors.response.use(res=>{
    return res
},err=>{
    return Promise.inject(err)
})
export default request